.class public Lcom/hierynomus/smbj/smb2/messages/a;
.super Lcom/hierynomus/smbj/smb2/d;
.source "SMB2Close.java"


# instance fields
.field private c:Lcom/hierynomus/smbj/smb2/a;

.field private d:Ljava/util/Date;

.field private e:Ljava/util/Date;

.field private f:Ljava/util/Date;

.field private g:Ljava/util/Date;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/hierynomus/smbj/smb2/d;-><init>()V

    return-void
.end method

.method public constructor <init>(Lcom/hierynomus/smbj/smb2/SMB2Dialect;JJLcom/hierynomus/smbj/smb2/a;)V
    .locals 8

    .line 2
    sget-object v3, Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;->SMB2_CLOSE:Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;

    const/16 v1, 0x18

    move-object v0, p0

    move-object v2, p1

    move-wide v4, p2

    move-wide v6, p4

    invoke-direct/range {v0 .. v7}, Lcom/hierynomus/smbj/smb2/d;-><init>(ILcom/hierynomus/smbj/smb2/SMB2Dialect;Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;JJ)V

    .line 3
    iput-object p6, p0, Lcom/hierynomus/smbj/smb2/messages/a;->c:Lcom/hierynomus/smbj/smb2/a;

    return-void
.end method


# virtual methods
.method protected b(Lcom/hierynomus/smbj/common/b;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Lcom/hierynomus/smbj/smb2/d;->a()Lcom/hierynomus/smbj/smb2/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/hierynomus/smbj/smb2/c;->f()Lcom/hierynomus/mserref/NtStatus;

    move-result-object v0

    sget-object v1, Lcom/hierynomus/mserref/NtStatus;->STATUS_SUCCESS:Lcom/hierynomus/mserref/NtStatus;

    if-ne v0, v1, :cond_0

    .line 2
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    .line 3
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    const/4 v0, 0x4

    .line 4
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 5
    invoke-static {p1}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/a;->d:Ljava/util/Date;

    .line 6
    invoke-static {p1}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/a;->e:Ljava/util/Date;

    .line 7
    invoke-static {p1}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/a;->f:Ljava/util/Date;

    .line 8
    invoke-static {p1}, Lcom/hierynomus/msdtyp/a;->a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;

    move-result-object v1

    iput-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/a;->g:Ljava/util/Date;

    .line 9
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->k()J

    .line 10
    invoke-virtual {p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->k()J

    .line 11
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->e(I)[B

    :cond_0
    return-void
.end method

.method protected d(Lcom/hierynomus/smbj/common/b;)V
    .locals 1

    .line 1
    iget v0, p0, Lcom/hierynomus/smbj/smb2/d;->b:I

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/4 v0, 0x1

    .line 2
    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 3
    invoke-virtual {p1}, Lcom/hierynomus/smbj/common/b;->n()Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 4
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/a;->c:Lcom/hierynomus/smbj/smb2/a;

    invoke-virtual {v0, p1}, Lcom/hierynomus/smbj/smb2/a;->a(Lcom/hierynomus/smbj/common/b;)V

    return-void
.end method
